﻿using System.Data.Entity;
using Microsoft.AspNet.Identity.EntityFramework;
using Prav.Contracts;
using Prav.Model;

namespace Prav.Dal
{
    public class EfDal : IdentityDbContext<ApplicationUser>, IDal 
    {
        public EfDal()
            : base("DefaultConnection")
        {
        }

        public virtual IDbSet<Post> Posts { get; set; }
    }
}